clean:
	flutter clean

get:
	flutter pub get

upgrade:
	flutter pub upgrade

doctor:
	flutter doctor --verbose

all:
	make clean && make get && make upgrade

pod:
	make all && cd ios && pod install && open Runner.xcworkspace
	
copy:
	rm -rf ../ohos/src/main/ets/components/plugin
	cp -r ../example/ohos/flutter_plugin/src/main/ets/components/plugin ../ohos/src/main/ets/components/plugin

run:
	make copy
	flutter run --debug

attach:
	flutter attach
